﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for RuouBOL
/// </summary>
public class RuouBOL
{
    public RuouBOL()
    {
        //
        // TODO: Add constructor logic here
        //
    }
    //getAllRuouByHomeAndXoa
    DBHelp help = new DBHelp();
    public DataSet getAllRuouByHomeAndXoa(int home, int xoa)
    {
        List<SqlParameter> listParam = new List<SqlParameter>();
        SqlParameter param;
        param = new SqlParameter("@home", SqlDbType.Int);
        param.Value = home;
        listParam.Add(param);
        param = new SqlParameter("@xoa", SqlDbType.Int);
        param.Value = home;
        listParam.Add(param);
        return help.GetAll("getAllRuouByHomeAndXoa", listParam);
    }

}